package com.whfc.base.dao;


import com.whfc.base.entity.AppSchedule;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface AppScheduleMapper {

    int insertSelective(AppSchedule record);

    AppSchedule selectByPrimaryKey(Integer id);

    List<AppSchedule> selectByUserIdAndTime(@Param("userId") Integer userId,@Param("time") String time);
    List<AppSchedule> selectByUserIdAndBetweenTime(@Param("userId") Integer userId,@Param("startTime") Date startTime,@Param("endTime") Date endTime);

    int updateByPrimaryKeySelective(AppSchedule record);











}
